home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / comm / backmail.zip / MODEMS.TXT < prev    next >
Text File  |  1989-03-05  |  20KB  |  413 lines

  1.  
  2.                                                                         B-1
  3.  
  4.  
  5.  
  6.  
  7.            APPENDIX B:  Customizing BackMail for your Modem
  8.  
  9.    The default values in Backmail should enable it to operate with any
  10.   truly Hayes Compatible 1200 or 2400 baud modem.  Apart from insuring
  11.   that your DIP switches are set correctly, we recommend that you use
  12.   BackMail for a bit before undertaking any customization. The default
  13.   values the program uses have been chosen with great care and work
  14.   with a wide variety of modems.
  15.  
  16.   However, should you encounter problems or if your modem is non-
  17.   standard, don't despair. We have designed BackMail to allow you to
  18.   alter virtually all of the parameters that control the modems
  19.   operations. So even if you have a modem that does not conform to
  20.   industry standards it should be possible to configure the program to
  21.   drive your modem.
  22.  
  23.  
  24.   DIP SWITCHES
  25.   Your Modem may or may not have DIP switches which may control some
  26.   or all of these functions.
  27.  
  28.   +------------------------++-------------------------------------+
  29.   |    SWITCH              ||      SETTING                        |
  30.   +------------------------++-------------------------------------+
  31.   |    Carrier Detect      ||Should be set so that Carrier is NOT |
  32.   |                        ||always on.                           |
  33.   |                        ||                                     |
  34.   |    Data Terminal Ready ||Should be set so that DTR is NOT     |
  35.   |                        ||always on; i.e. is controlled by the |
  36.   |                        ||computer.                            |
  37.   |                        ||                                     |
  38.   |    Verbose             ||Should be set so that modem produces |
  39.   |                        ||numeric responses                    |
  40.   |                        ||                                     |
  41.   |    Echo                ||Should be set so the modem does NOT  |
  42.   |                        ||echo commands                        |
  43.   |                        ||                                     |
  44.   |    Auto Answer         ||Should be off so modem does not      |
  45.   |                        ||automatically answer the phone       |
  46.   +------------------------++-------------------------------------+
  47.   
  48.  
  49.   It is most important that you have Carrier and DTR detect enabled.
  50.   If your modem does not have DIP switches for these functions then
  51.   they will be set by command strings. Check the Setting for Tech 3 to
  52.   make sure that it is the appropriate string to enable carrier and
  53.   DTR. Setting of Tech settings is described below.
  54.                                                                         B-2
  55.  
  56.  
  57.  
  58.  
  59.   MODEM RESPONSE CODES
  60.   Your modem responds to commands by sending "response codes" to your
  61.   computer. BackMail sets your modem to respond with numeric
  62.   responses. These are numbers (usually between 0-10, though we have
  63.   provided up to 20) that tell the program about the state of your
  64.   modem. Responses 1-4 are standard but, above 4, modems can mean
  65.   different things by these numbers. To bring BackMail fully en
  66.   rapport with your modem you should tell the program what these
  67.   response codes mean to your modem.  You do this by altering TECH
  68.   SETTINGS under the CHANGE SETUP menu.
  69.  
  70.   You change TECH SETTINGS by entering the number of the tech setting
  71.   you want to change and entering an appropriate string or number.
  72.  
  73.   For modem response codes you will be entering numbers. Tech Settings
  74.   50-60 correspond to modem responses from 0-20. Each Tech Setting in
  75.   this range has associated with it a number which indicates its
  76.   meaning to BackMail.
  77.  
  78.   These numbers indicate the interpretation that BackMail will place
  79.   upon the corresponding modem responses and dictate what action
  80.   BackMail will take.
  81.  
  82.   Here are the BackMail Numbers and their meaning:
  83.  
  84.        +---------+------------------------------------------------+
  85.        | Setting |            Interpretation                      |
  86.        +---------|------------------------------------------------+
  87.        |    0    | 'OK': Modem has accepted a command             |
  88.        |    1    |  Modem has detected a Carrier at 300 Baud      |
  89.        |    2    |  Modem has detected a Carrier at 1200 Baud     |
  90.        |    3    |  Modem has detected a Carrier at 2400 Baud     |
  91.        |    4    |  Modem has detected your phone is ringing      |
  92.        |    5    |  Modem has lost or failed to detect a carrier  |
  93.        |    6    |  Modem has detected a Busy signal              |
  94.        |    7    |  Modem detects ring at the called number       |
  95.        |    8    |  Modem has failed to detect a dial tone        |
  96.        |    9    |  This response code is undefined for this modem|
  97.        |   10    |  Modem has found an error in some command      |
  98.        +---------+------------------------------------------------+
  99.   
  100.                                                                         B-3
  101.  
  102.  
  103.  
  104.  
  105.   Here are the default settings which backmail uses to interpret Modem
  106.   responses 0-20.
  107.  
  108.                  +--------+-----------+------------------+
  109.                  | Tech   |  Modem    | Default BackMail |
  110.                  | Number | Response  | Setting          |
  111.                  +--------+-----------+------------------+
  112.                  |  50    |    0      |         0        |
  113.                  |  51    |    1      |         1        |
  114.                  |  52    |    2      |         4        |
  115.                  |  53    |    3      |         5        |
  116.                  |  54    |    4      |        10        |
  117.                  |  55    |    5      |         2        |
  118.                  |  56    |    6      |         5        |
  119.                  |  57    |    7      |         5        |
  120.                  |  58    |    8      |         9        |
  121.                  |  59    |    9      |         9        |
  122.                  |  60    |   10      |         3        |
  123.                  |  61    |   11      |         9        |
  124.                  |  62    |   12      |         9        |
  125.                  |  63    |   13      |         9        |
  126.                  |  64    |   14      |         9        |
  127.                  |  65    |   15      |         9        |
  128.                  |  66    |   16      |         9        |
  129.                  |  67    |   17      |         9        |
  130.                  |  68    |   18      |         9        |
  131.                  |  69    |   19      |         9        |
  132.                  |  70    |   20      |         9        |
  133.                  +--------+-----------+------------------+
  134.   
  135.  
  136.   As you will see, by default, all of the modem responses from 6-20
  137.   have a default BackMail setting of '9' which means that BackMail
  138.   will do nothing if it receives these responses. If these extended
  139.   codes do mean something to your modem then you will want to fill
  140.   BackMail in by setting the appropriate interpretation beside the
  141.   tech setting that corresponds to that tech setting.
  142.  
  143.   For example:  Suppose that your modem manual tells you that your
  144.   modem issues response code "6" when it receives no dial tone and "7"
  145.   when it detects a busy signal.  In that case you should alter Tech
  146.   settings "56" and "67" to the Backmail settings for these responses.
  147.  
  148.           +-------------------+-------------------+------------+
  149.           | Modem Response    |   Tech Setting    | BackMail   |
  150.           +-------------------|-------------------|------------+
  151.           | 6                 |     56            |          8 |
  152.           | 7                 |     57            |          6 |
  153.           +-------------------+-------------------+------------+
  154.   
  155.  
  156.   Sorry if all this sounds complicated. Indeed we aren't out of the
  157.   woods yet for now we have to talk about "X" settings...
  158.                                                                         B-4
  159.  
  160.  
  161.  
  162.  
  163.   X SETTINGS: CONTROLLING EXTENDED RESPONSES
  164.   The meaning of modem response codes above "5" are not wholly
  165.   standardized and any modem that uses these extended responses will
  166.   have a command to tell your modem which responses it will issue.
  167.   These are usually the "X1-X4" command strings. Tech Setting 4 sends
  168.   an  X command to the modem whenever it hangs up the phone.
  169.  
  170.   It is possible (though not likely) that you will want your modem to
  171.   be set to a different "X" value when it is answering the the phone
  172.   than when it is calling out. For this reason we have two Tech
  173.   settings for 'X' commands. The "X" value at Tech 4 is sent to the
  174.   modem each time BackMail hangs up the phone and will be in effect
  175.   when BackMail Calls out. The "X" string at tech 21 is used when
  176.   BackMail picks up the phone to dial out.
  177.  
  178.   The default values for both these strings are "X1" which normally
  179.   tells the modem to do nothing except report the difference between
  180.   1200 and 2400 baud carriers. For a typical fully featured modem the
  181.   values might be:
  182.  
  183.   +-----------+----------------+--------------------------------+
  184.   |    Tech   |    Recommended |                                |
  185.   |    Number |      Setting   |       Function                 |
  186.   +-----------+-------------------------------------------------+
  187.   |      4    |        X3      |Wait for Dial tone , 1200/2400  |
  188.   |           |                |Detect,Busy Detect              |
  189.   |      21   |        X1      |No wait for dial tone, 1200/2400|
  190.   |           |                |detect                          |
  191.   +-----------+----------------+--------------------------------+
  192.   
  193.  
  194.   Use the "X" settings that correspond to these values.
  195.  
  196.   Do NOT use an "X" setting if your manual tells you that in that "X-
  197.   mode" Backmail will wait for silence before dialing. You do NOT want
  198.   BackMail to do that.
  199.  
  200.  
  201.  MNP MODEMS
  202.   Some high speed modems which support the MNP error connection
  203.   protocol, have very great difficulty in establishing a stable
  204.   connection with lower speed modems that do not support MNP. If you
  205.   have an MNP modem but want to BackMail with other modems that don't,
  206.   it is probably a good idea to turn MNP off for BackMailing purposes.
  207.   You can do this by including the string "&M0" in your TECH 7 String.
  208.   (but confirm the effect of this in your modem manual).
  209.                                                                         B-5
  210.  
  211.  
  212.  
  213.  
  214. DOES YOUR MODEM SUPPORT "&" COMMANDS
  215.   Internal modems that do not have DIP switchs (and some extrnal
  216.   modems that do) require the command "&C1&D2" to enable DTR and
  217.   Carrier Detect to be controled by BackMail. We have included this
  218.   string as a default under TECH 3.
  219.  
  220.   However, many modems do not support and do not require this command,
  221.   a few of these respond badly to the unknown command. If your modem
  222.   does not support "&" commands, and you experience bad performance,
  223.   it might be a good idea to blank out Tech setting 3.
  224.  
  225.  
  226. TURNING ON BUSY DETECT AND WAIT FOR DIAL TONE
  227.   If you have entered in the right response codes and "X" modes then
  228.   busy detect will already be in effect. To turn on wait for dial tone
  229.   just bring up the CHANGE SETUP MENU and select WAIT FOR DIAL TONE.
  230.   Turning "WAIT FOR DIAL TONE" on will greatly enhance the ease with
  231.   which you can use BackMail for dialing out Voice calls.
  232.  
  233.  
  234.   WHICH RING TO ANSWER
  235.   Tech setting 73 contains a number which corresponds to the number of
  236.   rings Backmail should wait for before it answers the phone. The
  237.   default is "1" so that BackMail will answer your phone on the first
  238.   ring. If you want to give an answering machine or other people on an
  239.   extension a first shot at answering the phone you might want to
  240.   increase this number.
  241.  
  242.  
  243.   SLUGGISH MODEMS
  244.   Tech setting 72 contains a number which indicates how long it takes
  245.   your modem to hang up after it receives an on/off transition in the
  246.   DTR line from the computer. The default is 1 second, but if your
  247.   modem seems not to be answering the phone, or failing to connect
  248.   with calling BackMailers, then try increasing this number to 2
  249.   seconds.
  250.  
  251.  
  252.   CAVEAT
  253.   There are many different brands of modem on the market and they vary
  254.   widely in how well they perform. BackMail makes extensive use of all
  255.   of the features of standard modems and if the manufacturer has cut
  256.   corners in production they are more likely to show up with BackMail
  257.   than with some other less sophisticated communication programs.
  258.  
  259.   We have done thousands of hours of testing BackMail with many
  260.   different kinds of modems. There are some real turkeys out there:
  261.   modems that claim to do things that they don't, modems designed to
  262.   do things no one in their right mind would ever want them to do, and
  263.   modems so flaky that they are not good for much more than
  264.   autodialing. Unsurprisingly, we have found that modem performance is
  265.   more or less directly correlated with price. We hope that your modem
  266.   wasn't too much of a bargain.
  267.                                                                         B-6
  268.  
  269.  
  270.  
  271.  
  272.   Of particular note are some very inexpensive, internal 2400 baud
  273.   modems. These can typically run quite hot, which is not highly
  274.   recommended if you want to keep your chips happy.  Some of these
  275.   have very great difficulty connecting with other modems at 2400 baud
  276.   and you have to set your LAG TIME (See the manual for an
  277.   explanation) to a very high value (e.g. 30 seconds). To successfully
  278.   connect with these modems.
  279.  
  280.   If you frequently get calls which BackMail identifies as voice calls
  281.   but which are really other BackMailers, or if other BackMailers have
  282.   trouble connecting with you we recommend that you use BMCONFIG.COM
  283.   to set your "ANSWER BAUD" rate to 1200 baud. If you have trouble
  284.   connecting with other modems at 2400 baud then you should reduce
  285.   your "CALL BAUD" rate down to 1200 baud. The trade off of
  286.   reliability for speed is usually worth it.
  287.                                                                         B-7
  288.  
  289.  
  290.  
  291.  
  292.   MODEM COMMAND STRINGS
  293.   Tech Settings 0 -22 contain the strings that are used to control the
  294.   modem.
  295.  
  296.   If you encounter difficulties with BackMail controlling your modem
  297.   you may wish to change some of these after consulting your modem.
  298.   Command strings can be up to 15 characters long.
  299.  
  300.   +----------+--------+-------------------------------------------+
  301.   |    Tech  |Default |                                           |
  302.   |    Number|Value   |                  FUNCTION                 |
  303.   +----------+--------+-------------------------------------------+
  304.   |    0     |AT      |Modem attention string. Precedes all       |
  305.   |          |        |commands                                   |
  306.   |    1     |Z       |Hang up the phone & Reset                  |
  307.   |    2     |S9=6    |Time to wait to identify carrier           |
  308.   |    3     |&C1&D2  |Carrier Detect and hang up on DTR enabled. |
  309.   |    4     |X3      |Mode to using in calling out               |
  310.   |    5     |M1      |Modem speaker on                           |
  311.   |    6     |M0      |Modem speaker off                          |
  312.   |    7     |Q0E0V0  |Send result codes, Don't Echo Commands,    |
  313.   |          |        |Numerical responses                        |
  314.   |    8     |S0=0    |Do NOT auto-answer                         |
  315.   |    9     |S7=60   |Time to wait for carrier                   |
  316.   |    10    |DT      |Touch tone dial out                        |
  317.   |    11    |DP      |Pulse tone dialing                         |
  318.   |    12    |A       |Answer with carrier                        |
  319.   |    13    |;       |Return to command state                    |
  320.   |    14    |D       |Dial prefix                                |
  321.   |    15    |CR>     |Terminator for Command lines               |
  322.   |    16    |W       |Wait for dial tone                         |
  323.   |    17    |S6=2    |Time to wait for dial tone                 |
  324.   |    18    |        |                                           |
  325.   |    19    |        |                                           |
  326.   |    20    |        |                                           |
  327.   |    21    |X1      |Mode to use when dialing out               |
  328.   |    22    |+++     |Modem escape sequence                      |
  329.   +----------|--------+-------------------------------------------+
  330.                                                                         B-8
  331.  
  332.  
  333.  
  334.  
  335.   ADVICE TO HACKERS
  336.   The strings associated with TECH 1,2,3,4 and 7  are sent to the
  337.   modem every time BackMail resets or hangs up the phone. If your
  338.   modem requires special command strings you may wish to include them
  339.   here.  If your modem does not Accept "&" commands you may wish to
  340.   blank out tech setting 3 to speed the reset of your Modem.
  341.                                                                         C-1
  342.  
  343.  
  344.  
  345.  
  346.              APPENDIX C: UNDERSTANDING EXTENSION NUMBERS
  347.  
  348.   In an office enviornment it often happens that many phones share the
  349.   same phone number and differ only in their extension. For this
  350.   reason BackMail allows you to specify your own extension number as
  351.   part of your phone number and to specify extension numbers in
  352.   addition to destination's 7 digit phone numbers.
  353.  
  354.   In using extension numbers the most important thing to remember is
  355.   that:
  356.  
  357.           For its own purposes BackMail identifies all destinations by
  358.           their phone number and BackMail treats extension numbers as
  359.           part of that identification.
  360.  
  361.   This becomes important when you remember that BackMail won't deliver
  362.   or recieve mail from another BackMail unless the other BackMail has
  363.   a phone number (the whole phone number) corresponding to some piece
  364.   of mail.
  365.  
  366.   If you think about it you will see that this is essential for
  367.   systems with extension numbers. When you call,say, "424-3811 Ext.
  368.   1112", you do not want to deliver messages that are adressed to
  369.   "424-3811 ext.1113."
  370.  
  371.  
  372. DECLARING YOUR OWN EXTENSION
  373.   One upshot of all this is that if, when declaring your own phone
  374.   number, you include your extension number, then other BackMailers
  375.   should know about that extension and use it as part of your phone
  376.   number. Note, this is so even if their call to you is a local or
  377.   long distance call.
  378.  
  379.   Otherwise the following may happen. Other Backmails will call your
  380.   backmail and say: "Hello I have mail for 424-3811". Your BackMail
  381.   will say "Sorry I am 424-3811 Ext.1112". The calling BackMailer will
  382.   say "Ooops, then I have no mail for you!" and will disconnect
  383.   without delivering its mail.
  384.  
  385.   In the other direction you may call BackMail's that already have you
  386.   listed in their directory as 424-3811, but because your mail comes
  387.   in stamped as being from 424-3811 Ext. 1123, those destinations will
  388.   identify your mail as coming from "unknown".
  389.  
  390.  
  391. THE INTERNAL PREFIX
  392.   The prefix "intern" comes pre-defined in BackMail and you can enter
  393.   other prefixes or Suffixes of the INTERNAL type. When a
  394.   destination's phone number bears an INTERNAL prefix/suffix type then
  395.   BackMail will use the 1-4 digit extension number you have associated
  396.   with that destinations phone number.
  397.                                                                         C-2
  398.  
  399.  
  400.  
  401.  
  402.   If you declare a destination to be an INTERNAL call, but have not
  403.   entered an extension number for the destination then BackMail will
  404.   use the last four digits of the destinations phone number in placing
  405.   its call.
  406.  
  407.   So, to make an internal call to the destination:
  408.  
  409.           424-3811 Ext: 12
  410.  
  411.   BackMail would simply dial "12". On the other hand if you had no
  412.   extension entered for this number but declared it to be an "Intern"
  413.   call, BackMail would try to reach this number by dialing: "3811".